export default [
  {
    url: '/mock/login',
    type: 'post',
    template: () => {
      return {
        errcode: 0,
        errmsg: '',
        data: {
          success: 1,
        },
      };
    },
  },
  {
    url: '/mock/register',
    type: 'post',
    template: () => {
      return {
        errcode: 0,
        errmsg: '',
        data: {
          success: 1,
        },
      };
    },
  },
  {
    url: '/mock/getVerifyCode',
    type: 'get',
    template: () => {
      return {
        errcode: 0,
        errmsg: '',
        data: {
          success: 1,
        },
      };
    },
  },
  {
    url: '/mock/getQiniuToken',
    type: 'get',
    template: () => {
      return {
        code: 0,
        errcode: 0,
        message: '0',
        errmsg: '0',
        ttl: 1,
        data: {
          token:
            'G_oLlWOleyh9H18qHPpiVpPDA8JvbJJTt1f_O1ek:lQJB85tKJkEDuZtUWykA4lp5ZvY=:eyJzY29wZSI6InB1Yi1tZWQtY2FzZW0iLCJkZWFkbGluZSI6MTYxNjQ5NTgxOCwicmV0dXJuQm9keSI6IntcImtleVwiOiQoa2V5KSxcIndcIjokKGltYWdlSW5mby53aWR0aCksXCJoXCI6JChpbWFnZUluZm8uaGVpZ2h0KX0ifQ==',
          domain: 'http://casem-file.qa.medlinker.com',
        },
      };
    },
  },
];
